package com.minmin.testCases;

import com.minmin.common.Alert;
import com.minmin.common.BaseUrl;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;

public class TestCom extends BaseUrl {
    protected WebDriver driver;
    protected Alert A;
    protected Actions actions;

    public TestCom(WebDriver driver) {
        this.driver = driver;
        this.A = new Alert();
        this.actions = new Actions(driver);
    }

    public WebElement eXpath(String x) {
        return driver.findElement(By.xpath(x));
    }


}
